import utility

class CommitteeMemberEntity(object):
    def __init__(self,committeeID,memberID,startDate,endDate=None,active=None,memberName=None):
        self.__committeeID = committeeID
        self.__memberID = memberID
        self.__startDate = startDate
        self.__endDate = endDate
        self.__active = active
        self.__memberName = memberName


    ColumnNames = utility.Enum(
        committeeID = "CommitteeID",
        memberID = "MemberID",
        startDate = "StartDate",
        endDate = "EndDate",
        active = "Active",
        memberName = "MemberName"
        )        

    def __get_committeeID(self):
        return self.__committeeID
    def __set_committeeID(self, value):
        self.__committeeID = value
    CommitteeID = property(fget=__get_committeeID, fset=__set_committeeID)


    def __get_memberID(self):
        return self.__memberID
    def __set_memberID(self, value):
        self.__memberID = value
    MemberID = property(fget=__get_memberID, fset=__set_memberID)


    def __get_startDate(self):
        return self.__startDate
    def __set_startDate(self, value):
        self.__startDate = value
    StartDate = property(fget=__get_startDate, fset=__set_startDate)


    def __get_endDate(self):
        return self.__endDate
    def __set_endDate(self, value):
        self.__endDate = value
    EndDate = property(fget=__get_endDate, fset=__set_endDate)


    def __get_active(self):
        return self.__active
    def __set_active(self, value):
        self.__active = value
    Active = property(fget=__get_active, fset=__set_active)


    def __get_memberName(self):
        return self.__memberName
    def __set_memberName(self, value):
        self.__memberName = value
    MemberName = property(fget=__get_memberName, fset=__set_memberName)
